home *** CD-ROM | disk | FTP | other *** search
- Echo off
- IF NOT EXIST INPUT.COM GOTO WRONGDR
- CLS
- IF %1==F GOTO FLOPINS
- IF %1==H GOTO HARDINS1
- CLS
- :HARDINS1
- CLS
- echo
- ECHO This procedure will install all files onto your hard disk, drive %2
- ECHO and will create a subdirectory, \CPA.ACS.
- echo
- %2:
- CD \
- MKDIR CPA.ACS
- CD CPA.ACS
- COPY %3ECOH.COM >TMP
- COPY %3YESNO.COM >TMP
- COPY %3CPA-X50.EXE >TMP
- CPA-X50
- DEL CPA-X50.EXE
- DEL AUTOFLOP.BAT
- CLS
- echo
- ECOH ══════════ Tutorial for program ══════════
- echo
- ECHO PROGRAM.DOC is the short tutorial.
- ECHO Would you like to print it out now?
- echo
- :YESNO
- YESNO
- CLS
- IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
- IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
- GOTO YESNO
- :YESNEXT
- CLS
- ECHO Please make sure your printer is now turned on and set
- ECHO to the 'top of form'. Then press any key to continue.
- echo
- PAUSE
- CLS
- echo
- echo
- ECOH ══════════ Now printing tutorial ══════════
- COPY PROGRAM.DOC LPT1: >TMP
- CLS
- GOTO YES1
- :YES1
- CLS
- echo
- echo
- echo
- ECOH ══════════ Free memory available for program ══════════
- echo
- ECHO The program must have 500 kb free memory. Observe the next
- ECHO 'bytes are free.' message below. If below 500k, then
- ECHO enter a 'CONTROL-C' now to stop and remove any memory resident
- ECHO programs. Otherwise enter any other key to continue.
- echo
- echo
- MEMORY
- echo
- echo
- PAUSE
- CLS
- GO
- GOTO END
- :WRONGDR
- CLS
- echo
- echo
- ECHO Though nothing could be simpler than this install procedure, it does
- echo require that you enter the drive name, such as 'A:' or 'B:', followed
- echo by the 'Enter' key. After that, please enter 'GO' again.
- echo
- GOTO END
- :END
- echo